home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 2: CDPD 1 / Almathera Ten on Ten - Disc 2: CDPD 1.iso / pd / 351-375 / 351 / pdc / pdcsrc.lzh / PDC / Make.PDC < prev    next >
Text File  |  1990-04-06  |  746b  |  34 lines

  1. #CFLAGS    = -g
  2.  
  3. OBJ1    = Analyze.o Decl.o Expr.o Init.o Optimize.o Register.o Func.o
  4. OBJ2    = Force.o Intexpr.o Outcode.o Searchkw.o GenCode.o GenFloat.o List.o
  5. OBJ3    = Peepgen.o Stmt.o Cmain.o GenStmt.o Memmgt.o Precomp.o PreProc.o
  6. OBJ4    = Decl.o GetSym.o Symbol.o Builtins.o
  7. OBJX    = Cglbdef.o
  8.  
  9. OLDOBJ    = InitAuto.o Pragma.o Getopt.o
  10.  
  11. OBJS    = $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ4)
  12.  
  13. .c.o:
  14.     ccx -c $(CFLAGS) -Wc "-P include.pre" $*.c
  15.  
  16. all:    PDC
  17.  
  18. include.pre:    Include.c C.h Expr.h Gen.h Cglbdec.h Version.h
  19.     ccx -S -Wc -P0 Include.c
  20.  
  21. into_ram:
  22.     copy Include.pre ram:
  23.  
  24. Cglbdef.o:    Cglbdef.c
  25.     ccx $(CFLAGS) -c Cglbdef.c
  26.  
  27. #PDC:    include.pre into_ram $(OBJS) $(OBJX)
  28. PDC:    include.pre $(OBJS) $(OBJX)
  29.     BLink with MakeWith.PDC
  30.  
  31. clean:
  32.     delete \#?.o include.(pre|prc) (PDC)
  33.  
  34.